<script setup lang="ts">
const uid = ref('6695de8c854290e3eb2b78e8'); // 6697782a24376b29d377fbf1
const referCode = ref('mmmmmmmmm ');
const invireUrk = ref('https://t.me/TgGameTestBot?start=mmmmmmmmm');
</script>

<template>
  <div class="mb-4 flex flex-wrap gap-2">
    <AButton @click="globalPopups.userProfile.open({ userId: uid })">
      我的档案
    </AButton>
    <AButton @click="globalPopups.setPassword.open()">
      设置密码
    </AButton>
    <AButton @click="globalPopups.updatePassword.open()">
      更新密码
    </AButton>
    <AButton @click="globalPopups.verifyEmail.open()">
      verifyEmail
    </AButton>
    <AButton @click="globalPopups.userModify.open()">
      修改用户名和头像
    </AButton>
    <AButton @click="globalPopups.enable2FA.open()">
      启用2fa
    </AButton>
    <AButton @click="globalPopups.verify2FA.open()">
      验证2fa
    </AButton>
    <AButton @click="globalPopups.orderShare.open?.({ gameCode: 'classic-dice', orderNo: '66612c19095a4d38d0a04747' })">
      订单分享
    </AButton>
    <AButton @click="globalPopups.lotteryShare.open({ shareLink: 'baidu.com', orderNo: '66612c19095a4d38d0a04747' })">
      lotteryShare
    </AButton>
    <AButton @click="globalPopups.referInfo.open({ code: referCode, url: invireUrk })">
      推荐奖金详情
    </AButton>
    <AButton @click="globalPopups.rewardInfo.open({ code: referCode, url: invireUrk })">
      佣金奖励详情
    </AButton>
    <AButton @click="globalPopups.modifyCampain.open({ id: uid })">
      {{ $t('fvaTnHjIYkyoYrXiFUuuS') }}
    </AButton>
    <AButton @click="globalPopups.addCampains.open()">
      {{ $t('eZs0JXngVkl_71sNxkzWi') }}
    </AButton>
    <AButton @click="globalPopups.rakeDetail.open()">
      流水返利
    </AButton>
    <AButton @click="globalPopups.cashDetail.open()">
      亏损返现
    </AButton>
    <AButton @click="globalPopups.freeDetail.open()">
      转盘规则
    </AButton>
    <AButton @click="globalPopups.notifyPopup.open()">
      通知
    </AButton>
    <AButton @click="globalPopups.setCommissionPopup.open({ userId: uid })">
      setCommission
    </AButton>
    <AButton @click="globalPopups.rankPopup.open()">
      等级
    </AButton>
    <AButton @click="globalPopups.bonuses.open()">
      奖金
    </AButton>
    <AButton @click="globalPopups.skeletonPopup.open()">
      游戏详情骨架屏
    </AButton>
  </div>
</template>
